projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6339134
)
(WinMain): Pass explicit environment block to
author
Andrew Innes
<andrewi@gnu.org>
Tue, 26 Jan 1999 12:56:01 +0000
(12:56 +0000)
committer
Andrew Innes
<andrewi@gnu.org>
Tue, 26 Jan 1999 12:56:01 +0000
(12:56 +0000)
CreateProcess, to work around a bug in Windows 95/98.
nt/runemacs.c
patch
|
blob
|
history
diff --git
a/nt/runemacs.c
b/nt/runemacs.c
index dc8d1bfe710e798b9bdb63a0eea16a81a01c40e3..c1b2895174844b4748b111e6f0ed741bd7dc34f5 100644
(file)
--- a/
nt/runemacs.c
+++ b/
nt/runemacs.c
@@
-126,7
+126,7
@@
WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow)
sec_attrs.bInheritHandle = FALSE;
if (CreateProcess (NULL, new_cmdline, &sec_attrs, NULL, TRUE, priority_class,
-
NULL
, NULL, &start, &child))
+
GetEnvironmentStrings ()
, NULL, &start, &child))
{
if (wait_for_child)
{